#include "EDSphere.h"


EDSphere::EDSphere(void)
{
	quad = gluNewQuadric();
	gluQuadricNormals(quad, true);
}

EDSphere::~EDSphere(void)
{
	gluDeleteQuadric(quad);
}

void EDSphere::Draw(void) const
{
	glPushMatrix();

		glTranslatef(m_Center.x, m_Center.y, m_Center.z);
		gluSphere(quad, m_fRadius, 50, 50);

	glPopMatrix();

}